<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <link rel="stylesheet" href="./css/animate.css@3.5.1.css">
    <script src="./js/vue.js"></script>
</head>

<body>
    <div id="app">
        <button @click="show=!show">切换</button>

        <transition-group tag="ul"
        enter-active-class="animated bounceInUp" 
        leave-active-class="animated bounceOutDown"
        >
            <li v-show="show" v-for="i in 5" :key="i">列表----{{i}}</li>
        </transition-group>

    </div>
    <script>
        let vm = new Vue({
            el: "#app",
            data: {
               show:true
            }
        })
    </script>
</body>

<html>